package qc.common.core.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * 文件类型枚举
 *
 * @author QuCheng Tech
 * @since 2023/6/8
 */
@Getter
@AllArgsConstructor
public enum FileTypeEnum {
    UN_KNOW(0, "未知"),
    TEXT(10, "文本文件"),
    WORD(11, "WORD"),
    EXCEL(12, "EXCEL"),
    PDF(13, "PDF"),
    MARK(14, "标记语言"),
    DOCUMENT(19, "其他文档"),
    IMAGE(20, "图片"),
    AUDIO(21, "音频"),
    VIDEO(22, "视频"),
    EXE(30, "可执行程序"),
    ZIP(40, "压缩文件");

    @EnumValue
    private int index;
    private String name;
}
